WPS Office.apk(点击下载) / clp.java


package defpackage;

import com.iflytek.cloud.SpeechConstant;
import com.mopub.mobileads.VastExtensionXmlManager;
import java.io.IOException;
import java.util.Date;
import java.util.zip.ZipOutputStream;

/* renamed from: clp  reason: default package */
public final class clp extends cls {
    public String cjY = null;
    public String cjZ = null;
    public String cka = null;
    public String ckb = null;
    public String ckc = null;
    public Date ckd = null;
    public Date cke = null;
    public String ckf = null;
    public String mCategory = null;
    public String mKeywords = null;

    clp(ZipOutputStream zipOutputStream) {
        super(zipOutputStream, cky.ciW, -1);
    }

    public final void b(Date date) {
        this.ckd = date;
    }

    public final void c(Date date) {
        this.cke = date;
    }

    public final void gc(String str) {
        this.cka = str;
    }

    public final void gd(String str) {
        this.ckc = str;
    }

    /* access modifiers changed from: package-private */
    public final void nq() throws IOException {
        boolean z = true;
        col col = new col(super.getOutputStream());
        col.startDocument();
        col.N("cp", "coreProperties");
        col.M("cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties");
        if ((this.cka == null || this.cka.length() <= 0) && ((this.cjY == null || this.cjY.length() <= 0) && (this.ckb == null || this.ckb.length() <= 0))) {
            z = false;
        }
        if (z) {
            col.M("dc", "http://purl.org/dc/elements/1.1/");
        }
        if (!(this.ckd == null && this.cke == null)) {
            col.M("dcterms", "http://purl.org/dc/terms/");
            col.M("xsi", "http://www.w3.org/2001/XMLSchema-instance");
        }
        if (this.cjY != null && this.cjY.length() > 0) {
            col.N("dc", "title");
            col.addText(this.cjY);
            col.O("dc", "title");
        }
        if (this.cjZ != null && this.cjZ.length() > 0) {
            col.N("dc", SpeechConstant.SUBJECT);
            col.addText(this.cjZ);
            col.O("dc", SpeechConstant.SUBJECT);
        }
        if (this.cka != null && this.cka.length() > 0) {
            col.N("dc", "creator");
            col.addText(this.cka);
            col.O("dc", "creator");
        }
        if (this.mKeywords != null && this.mKeywords.length() > 0) {
            col.N("cp", "keywords");
            col.addText(this.mKeywords);
            col.O("cp", "keywords");
        }
        if (this.ckb != null && this.ckb.length() > 0) {
            col.N("dc", "description");
            col.addText(this.ckb);
            col.O("dc", "description");
        }
        if (this.ckc != null && this.ckc.length() > 0) {
            col.N("cp", "lastModifiedBy");
            col.addText(this.ckc);
            col.O("cp", "lastModifiedBy");
        }
        if (this.ckd != null) {
            col.N("dcterms", "created");
            col.h("xsi", VastExtensionXmlManager.TYPE, "dcterms:W3CDTF");
            col.addText(cld.a(this.ckd));
            col.O("dcterms", "created");
        }
        if (this.cke != null) {
            col.N("dcterms", "modified");
            col.h("xsi", VastExtensionXmlManager.TYPE, "dcterms:W3CDTF");
            col.addText(cld.a(this.cke));
            col.O("dcterms", "modified");
        }
        if (this.mCategory != null && this.mCategory.length() > 0) {
            col.N("cp", SpeechConstant.ISE_CATEGORY);
            col.addText(this.mCategory);
            col.O("cp", SpeechConstant.ISE_CATEGORY);
        }
        if (this.ckf != null && this.ckf.length() > 0) {
            col.N("cp", "contentStatus");
            col.addText(this.ckf);
            col.O("cp", "contentStatus");
        }
        col.O("cp", "coreProperties");
        col.endDocument();
    }

    public final void setTitle(String str) {
        this.cjY = str;
    }
}